/*
 * @Author: zhang gen yuan
 * @Date: 2021-09-17 09:57:09
 * @Descripttion: 
 */
import { reactive, ref, unref } from "vue-demi";

export function loginUtil(val) {
    let data = reactive({
        ruleForm: {
            uname: "",
            upwd: "",
        },
        rules: {
            uname: [{ required: true, message: "请输入用户名", trigger: "blur" }],
            upwd: [{ required: true, message: "请输入密码", trigger: "blur" }],
        },
    });
    return {
        data
    }
}